import { createRouter, createWebHistory } from 'vue-router'
import SubAppWrapper from '@/views/SubAppWrapper';

const routes = [
  {
    path: '/home',
    name: 'home',
    meta: {
      title: '主应用',
      isMenuPage: false
    },
    component: () => import('@/views/home')
  },
  { path: '/sub-vue', component: SubAppWrapper },
]

const router = createRouter({
  routes,
  history: createWebHistory()
})

export default router
